<template>
    <div class="child">
        <h3>子组件:哥哥</h3>
        {{$attrs}}
        <Child2 v-bind="$attrs"></Child2>
    </div>
</template>

<script setup lang="ts">
import Child2 from "./Child2.vue";

</script>

<style scoped>
.child {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0;
    background-color: #f0f0f0;
}
</style>
